package com.regent.central.bill.dto.sale_order;

import com.regent.central.bill.common.LoggingType;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 销售单变动日志DTO
 *
 * @author 杨昌沛 646742615@qq.com
 * @date 2018-07-03 11:10
 **/
public class SaleOrderActionLoggingDTO {
    /**
     * 单据汇款动作记录日志ID
     */
    private String id;

    /**
     * 动作ID
     */
    private String actionId;

    /**
     * 记录类型 创建/修改...
     */
    private LoggingType type;

    /**
     * 修改总数
     */
    private BigDecimal total;

    /**
     * 修改增加总数
     */
    private BigDecimal totalInc;

    /**
     * 修改减少总数
     */
    private BigDecimal totalDec;

    /**
     * 修改总额
     */
    private BigDecimal amount;

    /**
     * 修改增加总额
     */
    private BigDecimal amountInc;

    /**
     * 修改减少总额
     */
    private BigDecimal amountDec;

    /**
     * 创建时间
     */
    private String dateCreated;

    /**
     * 创建人员
     */
    private String userCreated;

    private List<SaleOrderActionLoggingStyleDTO> styles = new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getActionId() {
        return actionId;
    }

    public void setActionId(String actionId) {
        this.actionId = actionId;
    }

    public LoggingType getType() {
        return type;
    }

    public void setType(LoggingType type) {
        this.type = type;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getTotalInc() {
        return totalInc;
    }

    public void setTotalInc(BigDecimal totalInc) {
        this.totalInc = totalInc;
    }

    public BigDecimal getTotalDec() {
        return totalDec;
    }

    public void setTotalDec(BigDecimal totalDec) {
        this.totalDec = totalDec;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmountInc() {
        return amountInc;
    }

    public void setAmountInc(BigDecimal amountInc) {
        this.amountInc = amountInc;
    }

    public BigDecimal getAmountDec() {
        return amountDec;
    }

    public void setAmountDec(BigDecimal amountDec) {
        this.amountDec = amountDec;
    }

    public String getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(String dateCreated) {
        this.dateCreated = dateCreated;
    }

    public String getUserCreated() {
        return userCreated;
    }

    public void setUserCreated(String userCreated) {
        this.userCreated = userCreated;
    }

    public List<SaleOrderActionLoggingStyleDTO> getStyles() {
        return styles;
    }

    public void setStyles(List<SaleOrderActionLoggingStyleDTO> styles) {
        this.styles = styles;
    }
}
